<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>后台管理系统</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<link rel="icon" href="{$Think.const.admin_tpl}/images/icon/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="{$Think.const.admin_tpl}/css/style.css" />
<script src="{$Think.const.admin_tpl}/js/jquery.js"></script>
<script src="{$Think.const.admin_tpl}/js/jquery.form.js"></script>
<script src="{$Think.const.admin_tpl}/js/plug-ins/customScrollbar.min.js"></script>
<script src="{$Think.const.admin_tpl}/js/plug-ins/echarts.min.js"></script>
<script src="{$Think.const.admin_tpl}/js/plug-ins/layerUi/layer.js"></script>
<script src="{$Think.const.admin_tpl}/editor/ueditor.config.js"></script>
<script src="{$Think.const.admin_tpl}/editor/ueditor.all.js"></script>
<script src="{$Think.const.admin_tpl}/js/plug-ins/pagination.js"></script>
<script src="{$Think.const.admin_tpl}/js/public.js"></script>
</head>
<body>
<div class="main-wrap">
	<div class="side-nav">
		<div class="side-logo">
			<div class="logo">
				<span class="logo-ico">
					<i class="i-l-1"></i>
					<i class="i-l-2"></i>
					<i class="i-l-3"></i>
				</span>
				<strong>后台管理</strong>
			</div>
		</div>
		
		<nav class="side-menu content mCustomScrollbar" data-mcs-theme="minimal-dark">
			<h2>
				<a href="index.html" class="InitialPage"><i class="icon-dashboard"></i>数据概况</a>
			</h2>
			<ul>
                {foreach :session('my_menus') as $m } 
                    <li>
                            <dl>
                                    <dt>
                                            <i class='icon-columns'></i>{$m["name"]}<i class='icon-angle-right'></i>
                                    </dt>
                    {foreach $m['child'] as $c }                 
                                    <dd>
                                            <a href="{$c['alias']}">{$c['name']}</a>
                    {/foreach}      </dd>

                            </dl>
                    </li>             
                {/foreach}	
			</ul>
		</nav>
		
		<footer class="side-footer">© DeathGhost 版权所有</footer>
		
	</div>
	<div class="content-wrap">
		<header class="top-hd">
			<div class="hd-lt">
				<a class="icon-reorder"></a>
			</div>
			<div class="hd-rt">
				<ul>
					<li>
						<a><i class="icon-random"></i>清除缓存</a>
					</li>
					<li>
						<a><i class="icon-user"></i>管理员:<em>DeathGhost</em></a>
					</li>
					<li>
						<a href="javascript:void(0)" id="JsSignOut"><i class="icon-signout"></i>安全退出</a>
					</li>
				</ul>
			</div>
		</header>
		<main class="main-cont content mCustomScrollbar">
                    {block name="main"}{/block}
                    {block name="js"}{/block}			
		</main>
		<footer class="btm-ft">
			<p class="clear">
				<span class="fl">©Copyright 2016 <a href="#" title="DeathGhost" target="_blank">###</a></span>
				<span class="fr text-info">
					<em class="uppercase">
						<i class="icon-user"></i>
						author:xxx
					</em> | 
					<em class="uppercase"><i class="icon-envelope-alt"></i>
						xxx@xxx.com
					</em>

				</span>
			</p>
		</footer>
	</div>
</div>

</body>
</html>